<?php
class UserController extends Simpple_Controller_Default {
	function indexAction() {
		$pRequest = $this->getRequest()->getPreviousRequest();
		if ($pRequest) {
			$nickname = $pRequest->getControllerName();
		} else {
			$nickname = $this->_getParam('nickname');
		}
		var_dump($nickname);
	}
	
	function userAction() {
		
		$nickname = $this->request->getParam('nickname');
		var_dump($nickname);
	}
	
	function __error($ex) {
		var_dump($ex);
		//return parent::__action($param);
	}
	
}
?>